import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const CITYLIFE = () =>
  import(
    /* webpackChunkName: "jhx40home/citylife" */ '../page/HomeWithCityLife.vue'
  )
const BUSCARD = () =>
  import(
    /* webpackChunkName: "jhx40home/buscard" */ '../page/HomeWithBusCard.vue'
  )

const router = new Router({
  routes: [
    {
      path: '/',
      component: CITYLIFE
    },
    {
      path: '/buscard',
      component: BUSCARD
    }
  ]
})

export default router
